package com.mjf.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 序列号表
 * </p>
 *
 * @author
 * @since 2024-11-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mjf_serial_number")
@ApiModel(value="MjfSerialNumber对象", description="序列号表")
public class MjfSerialNumber implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "序列号表ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "类型： 前缀")
    @TableField(value = "type")
    private String type;

    @ApiModelProperty(value = "日期")
    @TableField("number_date")
    private LocalDate numberDate;

    @ApiModelProperty(value = "当前号码")
    @TableField("now_num")
    private Integer nowNum;

}
